package visualcbir.node;

import java.io.Serializable;
import visualcbir.Model;

/**
 *
 * @author sheila
 */
public class ModelNode extends Model implements IModelNode, Serializable{

    private int id;
    private String strPath;
    private String strName;
    private int iRank;
    private double dRelevance;
    
        
    public ModelNode(){
    }
    
    public ModelNode( int pid,  String pstrPath, String pstrName, int piRank, double pdRelevance) {
        this.id = pid;
        this.strPath = pstrPath;
        this.strName = pstrName;
        this.iRank = piRank;
        this.dRelevance = pdRelevance;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getdRelevance() {
        return dRelevance;
    }

    public void setdRelevance(double dRelevance) {
        this.dRelevance = dRelevance;
    }

    public int getiRank() {
        return iRank;
    }

    public void setiRank(int iRank) {
        this.iRank = iRank;
    }

    public String getStrName() {
        return strName;
    }

    public void setStrName(String strName) {
        this.strName = strName;
    }

    public String getStrPath() {
        return strPath;
    }

    public void setStrPath(String strPath) {
        this.strPath = strPath;
    }
}
